package cn.shop.transcation.promotionsModule;

import cn.shop.base.BaseEntity;
import com.baomidou.mybatisplus.annotation.TableField;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;

/**
 * 活动表(Promotions)表实体类
 *
 * @author 痴
 * @since 2022-06-25 10:46:27
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@EqualsAndHashCode(callSuper = true)
public class Promotions extends BaseEntity {

	private static final long serialVersionUID = 5615692661013398673L;

	/**
	 * 活动key
	 */
	@TableField("`key`")
	private String key;

	/**
	 * 活动内容
	 */
	private String content;

	/**
	 * 是否启用
	 */
	private Boolean enable;

	/**
	 * 奖池
	 */
	private BigDecimal prizePool;

}

